1
namespace CSTabbedWebBrowser
6 /// Required designer variable.
8 private System
.ComponentModel
.IContainer components
= null;
11 /// Clean up any resources being used.
13 /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
14 protected override void Dispose(bool disposing
)
16 if (disposing
&& (components
!= null))
20 base.Dispose(disposing
);
23 #region Windows Form Designer generated code
26 /// Required method for Designer support - do not modify
27 /// the contents of this method with the code editor.
29 private void InitializeComponent()
31 this.pnlHeader
= new System
.Windows
.Forms
.Panel();
32 this.tbUrl
= new System
.Windows
.Forms
.TextBox();
33 this.pnlNavigate
= new System
.Windows
.Forms
.Panel();
34 this.lbUrl
= new System
.Windows
.Forms
.Label();
35 this.btnRefresh
= new System
.Windows
.Forms
.Button();
36 this.btnForward
= new System
.Windows
.Forms
.Button();
37 this.btnBack
= new System
.Windows
.Forms
.Button();
38 this.pnlTabCommand
= new System
.Windows
.Forms
.Panel();
39 this.lbGo
= new System
.Windows
.Forms
.Label();
40 this.chkEnableTab
= new System
.Windows
.Forms
.CheckBox();
41 this.btnCloseTab
= new System
.Windows
.Forms
.Button();
42 this.btnNewTab
= new System
.Windows
.Forms
.Button();
43 this.webBrowserContainer
= new CSTabbedWebBrowser
.TabbedWebBrowserContainer();
44 this.pnlHeader
.SuspendLayout();
45 this.pnlNavigate
.SuspendLayout();
46 this.pnlTabCommand
.SuspendLayout();
51 this.pnlHeader
.Controls
.Add(this.tbUrl
);
52 this.pnlHeader
.Controls
.Add(this.pnlNavigate
);
53 this.pnlHeader
.Controls
.Add(this.pnlTabCommand
);
54 this.pnlHeader
.Dock
= System
.Windows
.Forms
.DockStyle
.Top
;
55 this.pnlHeader
.Location
= new System
.Drawing
.Point(0, 0);
56 this.pnlHeader
.Name
= "pnlHeader";
57 this.pnlHeader
.Size
= new System
.Drawing
.Size(928, 30);
58 this.pnlHeader
.TabIndex
= 0;
62 this.tbUrl
.Dock
= System
.Windows
.Forms
.DockStyle
.Fill
;
63 this.tbUrl
.Font
= new System
.Drawing
.Font("Microsoft Sans Serif", 13F
, System
.Drawing
.FontStyle
.Regular
, System
.Drawing
.GraphicsUnit
.Point
, ((byte)(134)));
64 this.tbUrl
.Location
= new System
.Drawing
.Point(193, 0);
65 this.tbUrl
.Name
= "tbUrl";
66 this.tbUrl
.Size
= new System
.Drawing
.Size(342, 27);
67 this.tbUrl
.TabIndex
= 2;
68 this.tbUrl
.Text
= "http://1code.codeplex.com/";
69 this.tbUrl
.KeyDown
+= new System
.Windows
.Forms
.KeyEventHandler(this.tbUrl_KeyDown
);
73 this.pnlNavigate
.Controls
.Add(this.lbUrl
);
74 this.pnlNavigate
.Controls
.Add(this.btnRefresh
);
75 this.pnlNavigate
.Controls
.Add(this.btnForward
);
76 this.pnlNavigate
.Controls
.Add(this.btnBack
);
77 this.pnlNavigate
.Dock
= System
.Windows
.Forms
.DockStyle
.Left
;
78 this.pnlNavigate
.Location
= new System
.Drawing
.Point(0, 0);
79 this.pnlNavigate
.Name
= "pnlNavigate";
80 this.pnlNavigate
.Size
= new System
.Drawing
.Size(193, 30);
81 this.pnlNavigate
.TabIndex
= 0;
85 this.lbUrl
.AutoSize
= true;
86 this.lbUrl
.Location
= new System
.Drawing
.Point(171, 8);
87 this.lbUrl
.Name
= "lbUrl";
88 this.lbUrl
.Size
= new System
.Drawing
.Size(20, 13);
89 this.lbUrl
.TabIndex
= 1;
90 this.lbUrl
.Text
= "Url";
94 this.btnRefresh
.Location
= new System
.Drawing
.Point(113, 4);
95 this.btnRefresh
.Name
= "btnRefresh";
96 this.btnRefresh
.Size
= new System
.Drawing
.Size(52, 23);
97 this.btnRefresh
.TabIndex
= 0;
98 this.btnRefresh
.Text
= "Refresh";
99 this.btnRefresh
.UseVisualStyleBackColor
= true;
100 this.btnRefresh
.Click
+= new System
.EventHandler(this.btnRefresh_Click
);
104 this.btnForward
.Location
= new System
.Drawing
.Point(54, 4);
105 this.btnForward
.Name
= "btnForward";
106 this.btnForward
.Size
= new System
.Drawing
.Size(53, 23);
107 this.btnForward
.TabIndex
= 0;
108 this.btnForward
.Text
= "Forward";
109 this.btnForward
.UseVisualStyleBackColor
= true;
110 this.btnForward
.Click
+= new System
.EventHandler(this.btnForward_Click
);
114 this.btnBack
.Location
= new System
.Drawing
.Point(3, 4);
115 this.btnBack
.Name
= "btnBack";
116 this.btnBack
.Size
= new System
.Drawing
.Size(45, 23);
117 this.btnBack
.TabIndex
= 0;
118 this.btnBack
.Text
= "Back";
119 this.btnBack
.UseVisualStyleBackColor
= true;
120 this.btnBack
.Click
+= new System
.EventHandler(this.btnBack_Click
);
124 this.pnlTabCommand
.Controls
.Add(this.lbGo
);
125 this.pnlTabCommand
.Controls
.Add(this.chkEnableTab
);
126 this.pnlTabCommand
.Controls
.Add(this.btnCloseTab
);
127 this.pnlTabCommand
.Controls
.Add(this.btnNewTab
);
128 this.pnlTabCommand
.Dock
= System
.Windows
.Forms
.DockStyle
.Right
;
129 this.pnlTabCommand
.Location
= new System
.Drawing
.Point(535, 0);
130 this.pnlTabCommand
.Name
= "pnlTabCommand";
131 this.pnlTabCommand
.Size
= new System
.Drawing
.Size(393, 30);
132 this.pnlTabCommand
.TabIndex
= 3;
136 this.lbGo
.AutoSize
= true;
137 this.lbGo
.Location
= new System
.Drawing
.Point(4, 9);
138 this.lbGo
.Name
= "lbGo";
139 this.lbGo
.Size
= new System
.Drawing
.Size(137, 13);
140 this.lbGo
.TabIndex
= 3;
141 this.lbGo
.Text
= "Press Enter to visit the URL";
145 this.chkEnableTab
.AutoSize
= true;
146 this.chkEnableTab
.Location
= new System
.Drawing
.Point(147, 8);
147 this.chkEnableTab
.Name
= "chkEnableTab";
148 this.chkEnableTab
.Size
= new System
.Drawing
.Size(81, 17);
149 this.chkEnableTab
.TabIndex
= 1;
150 this.chkEnableTab
.Text
= "Enable Tab";
151 this.chkEnableTab
.UseVisualStyleBackColor
= true;
155 this.btnCloseTab
.Location
= new System
.Drawing
.Point(315, 4);
156 this.btnCloseTab
.Name
= "btnCloseTab";
157 this.btnCloseTab
.Size
= new System
.Drawing
.Size(75, 23);
158 this.btnCloseTab
.TabIndex
= 0;
159 this.btnCloseTab
.Text
= "Close Tab";
160 this.btnCloseTab
.UseVisualStyleBackColor
= true;
161 this.btnCloseTab
.Click
+= new System
.EventHandler(this.btnCloseTab_Click
);
165 this.btnNewTab
.Location
= new System
.Drawing
.Point(234, 5);
166 this.btnNewTab
.Name
= "btnNewTab";
167 this.btnNewTab
.Size
= new System
.Drawing
.Size(75, 23);
168 this.btnNewTab
.TabIndex
= 0;
169 this.btnNewTab
.Text
= "New Tab";
170 this.btnNewTab
.UseVisualStyleBackColor
= true;
171 this.btnNewTab
.Click
+= new System
.EventHandler(this.btnNewTab_Click
);
173 // webBrowserContainer
175 this.webBrowserContainer
.Dock
= System
.Windows
.Forms
.DockStyle
.Fill
;
176 this.webBrowserContainer
.Location
= new System
.Drawing
.Point(0, 30);
177 this.webBrowserContainer
.Name
= "webBrowserContainer";
178 this.webBrowserContainer
.Size
= new System
.Drawing
.Size(928, 539);
179 this.webBrowserContainer
.TabIndex
= 1;
183 this.AutoScaleDimensions
= new System
.Drawing
.SizeF(6F
, 13F
);
184 this.AutoScaleMode
= System
.Windows
.Forms
.AutoScaleMode
.Font
;
185 this.ClientSize
= new System
.Drawing
.Size(928, 569);
186 this.Controls
.Add(this.webBrowserContainer
);
187 this.Controls
.Add(this.pnlHeader
);
188 this.Name
= "MainForm";
189 this.Text
= "TabbedWebBrowser";
190 this.pnlHeader
.ResumeLayout(false);
191 this.pnlHeader
.PerformLayout();
192 this.pnlNavigate
.ResumeLayout(false);
193 this.pnlNavigate
.PerformLayout();
194 this.pnlTabCommand
.ResumeLayout(false);
195 this.pnlTabCommand
.PerformLayout();
196 this.ResumeLayout(false);
202 private System
.Windows
.Forms
.Panel pnlHeader
;
203 private System
.Windows
.Forms
.TextBox tbUrl
;
204 private System
.Windows
.Forms
.Panel pnlNavigate
;
205 private System
.Windows
.Forms
.Label lbUrl
;
206 private System
.Windows
.Forms
.Button btnRefresh
;
207 private System
.Windows
.Forms
.Button btnForward
;
208 private System
.Windows
.Forms
.Button btnBack
;
209 private TabbedWebBrowserContainer webBrowserContainer
;
210 private System
.Windows
.Forms
.Panel pnlTabCommand
;
211 private System
.Windows
.Forms
.Button btnCloseTab
;
212 private System
.Windows
.Forms
.Button btnNewTab
;
213 private System
.Windows
.Forms
.CheckBox chkEnableTab
;
214 internal System
.Windows
.Forms
.Label lbGo
;